CentOS 6
Sponsored Link

Bacula - Run Backup
2011/07/18
 
Run backup on Bacula server. It's possible to execute backup not only on the Server but on Bacula Client.
[1] Run Backup
[root@director ~]#
bconsole

Connecting to Director director.srv.world:9101
1000 OK: bacula-dir Version: 5.0.0 (26 January 2010)
Enter a period to cancel a command.
*
label
# create a volume for backup

Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: File
Enter new Volume name:
Vol-20110515
# any label name

Defined Pools:
1: Default

2: File

3: Scratch

Select the Pool (1-3):
2
# select 2

Connecting to Storage daemon File at director.srv.world:9103 ...
Sending label command for Volume "Vol-20110515" Slot 0 ...
3000 OK label. VolBytes=210 DVD=0 Volume="Vol-20110515" Device="FileStorage" (/tmp)
Catalog record for Volume "Vol-20110515", Slot 0 successfully created.
Requesting to mount FileStorage ...
3906 File device "FileStorage" (/tmp) is always mounted.
*
run
# run backup

A job name must be specified.
The defined Job resources are:
1: BackupClient1

2: BackupCatalog

3: RestoreFiles

Select Job resource (1-3):
1
# select Job ( select 1 on here )
Run Backup job JobName: BackupClient1 Level: Incremental Client: bacula-fd FileSet: Full Set Pool: File (From Job resource) Storage: File (From Job resource) When: 2011-05-16 22:35:37 Priority: 10
OK to run? (yes/mod/no):
yes
# execute

Job queued. JobId=1
*
# the results like follows are shown for few minutes later

16-May 22:36 bacula-dir JobId 1: No prior Full backup Job record found. 16-May 22:36 bacula-dir JobId 1: No prior or suitable Full backup found in catalog. Doing FULL backup. 16-May 22:36 bacula-dir JobId 1: Start Backup JobId 1, Job=BackupClient1.2011-05-16_22.36.30_03 16-May 22:36 bacula-dir JobId 1: Using Device "FileStorage" 16-May 22:36 bacula-sd JobId 1: Wrote label to prelabeled Volume "Vol-20110515" on device "FileStorage" (/tmp) 16-May 22:36 bacula-sd JobId 1: Job write elapsed time = 00:00:01, Transfer rate = 742 Bytes/second 16-May 22:36 bacula-dir JobId 1: Bacula bacula-dir 5.0.0 (26Jan10): 16-May-2011 22:36:33 Build OS: x86_64-koji-linux-gnu redhat Enterprise release JobId: 1 Job: BackupClient1.2011-05-16_22.36.30_03 Backup Level: Full (upgraded from Incremental) Client: "bacula-fd" 5.0.0 (26Jan10) x86_64-koji-linux-gnu,redhat,Enterprise release FileSet: "Full Set" 2011-05-16 22:36:30 Pool: "File" (From Job resource) Catalog: "MyCatalog" (From Client resource) Storage: "File" (From Job resource) Scheduled time: 16-May-2011 22:35:37 Start time: 16-May-2011 22:36:32 End time: 16-May-2011 22:36:33 Elapsed time: 1 sec Priority: 10 FD Files Written: 5 SD Files Written: 5 FD Bytes Written: 279 (279 B) SD Bytes Written: 742 (742 B) Rate: 0.3 KB/s Software Compression: 12.3 % VSS: no Encryption: no Accurate: no Volume name(s): Vol-20110515 Volume Session Id: 1 Volume Session Time: 1305552633 Last Volume Bytes: 1,484 (1.484 KB) Non-fatal FD errors: 0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination: Backup OK 16-May 22:36 bacula-dir JobId 1: Begin pruning Jobs older than 40 years 11 months 13 hours 36 mins 33 secs. 16-May 22:36 bacula-dir JobId 1: No Jobs found to prune. 16-May 22:36 bacula-dir JobId 1: Begin pruning Jobs. 16-May 22:36 bacula-dir JobId 1: No Files found to prune. 16-May 22:36 bacula-dir JobId 1: End auto prune.
*
exit
# quit
[root@director ~]#
ll /tmp

total 4
-rw-r----- 1 root root 1484 May 16 22:36 Vol-20110515  
# backup is taken

-rw-------. 1 root root 0 Mar 14 21:54 yum.log
 
Tweet